<?php
// Created by HieuND.

App::bind('foo', function($app)
{
    //return new FooBar;
    return "HIEUTOT";
});

App::singleton('foo2', function()
{
    return "SINGLETON";
});

class FooBar {

    public function __construct(Baz $baz)
    {
        $this->baz = $baz;
    }

}

class OrderRepository {
	public function output() {
		echo "HIEUHAY";
	}
}